package com.crm.service;

import com.crm.vo.IndexBaseInfoVO;
import com.crm.vo.IndexStatisticsVo;
import com.crm.vo.IndexTodayInfoVO;
import com.crm.vo.IndexTodoInfoVO;

import java.time.LocalDate;
import java.util.List;
import java.util.Map;

public interface IndexService {
    IndexBaseInfoVO getBaseInfo(LocalDate beginCreateTime, LocalDate endCreateTime);

    IndexTodayInfoVO getTodayInfo();

    IndexTodoInfoVO getTodoInfo(LocalDate beginCreateTime, LocalDate endCreateTime);

    List<Map<String, Object>> businessChangeStatistics(IndexStatisticsVo indexStatisticsVo);

    List<Map<String, Object>> salesStatistic(IndexStatisticsVo indexStatisticsVo);
}
